﻿using System;
using System.Collections.Generic;
using System.Text;
using System.IO;

namespace GraffitiExtras.Utility
{
    internal class StringWriterWithEncoding : StringWriter
    {
        private Encoding myEncoding;

        public StringWriterWithEncoding(StringBuilder sb, Encoding encoding)
        {
            this.myEncoding = encoding;
        }

        public override Encoding Encoding
        { get { return this.myEncoding; } }
    }
}
